Skip to main content
Version: 5.x.x

RequestMapper


import { RequestMapper } from "@hyper-fetch/core"

Description

Defined in request/request.types.ts:313

Preview

type RequestMapper<Request,NewRequest> = (request: Request, requestId: string) => NewRequest | Promise<NewRequest>;

Structure

(request: Request, requestId: string) => NewRequest | Promise<NewRequest>